@import "../var.less";

@main-height:calc(~'100vh - 48px - 32px - 15px - 30px');
@contentHeight:calc(~"100vh - 48px - 32px - 15px - 30px - 2px");

#busSchedulingDetail{
  .main{
    position: relative;width:100%;margin-top: 15px;
    .treelist .ivu-card-body{max-height: @contentHeight;overflow-y: auto;}
    .datalist .ivu-card-body{min-height: @contentHeight;position: relative;}
    .ivu-tree {overflow-x: auto;}
    .no-data{
      text-align: center;font-size: 16px;margin-top: 50px;
    }

    .timeline-header{
      text-align: center;margin-bottom: 20px;
      .name{font-size: 14px;font-weight: bold;}
      .desc{font-size: 12px;}
    }
    .ivu-timeline{
      padding-left: 45%;

      .ivu-timeline-item-content{
        position: relative;height: 34px;
        .time{position: absolute;left: 0;transform: translateX(-100%);padding-right: 11px;}
        .text{
          >a.del-btn{
            display:inline-block;width: 14px;height: 14px;line-height: 14px;font-size: 14px;text-align: center;color: @error-color;transform: translateY(-50%);
            :hover{color: darken(@error-color,20%);}
          }
        }
      }
    }
  }
}
